package com.dy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dy.entity.Category;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * ClassName:CategoryMapper
 * Package:com.dy.mapper
 * Description:
 *
 * @Date:2022/8/4 8:58
 * @Author:dy
 */
@Mapper
@Repository
public interface CategoryMapper extends BaseMapper<Category> {

    /**
     * @Author dy
     * @Description: 根据分类名查询
     * @param name
     */
    Category getCategoryByName(String name);
}
